<?php
if( !defined( '_VALID_MOS' ) && !defined( '_JEXEC' ) ) die( 'Direct Access to '.basename(__FILE__).' is not allowed.' ); 
/**
*
* @version $Id: login_form.tpl.php 2286 2010-02-01 15:28:00Z soeren_nb $
* @package VirtueMart
* @subpackage templates
* @copyright Copyright (C) 2008 soeren - All rights reserved.
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see LICENSE.php
* VirtueMart is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See /administrator/components/com_virtuemart/COPYRIGHT.php for copyright notices and details.
*
* http://virtuemart.net
*/
if( vmIsJoomla('1.5')) {
	if(vmGet($_REQUEST,'tmpl') == 'component') {
		$lostPwUrl =  JRoute::_( 'index.php?option=com_user&view=reset&tmpl=component' );
	} else {
		$lostPwUrl =  JRoute::_( 'index.php?option=com_user&view=reset' );
	}
} else {
	$lostPwUrl = sefRelToAbs( basename($_SERVER['PHP_SELF']).'?option=com_registration&amp;task=lostPassword' );
}
?>




<div style="width: 49.5%; float: right; border-left: 0px solid #e5e5e5;">
<h3 class="first_h3">Returning Customer</h3>
<div class="contentInfoText marg-bottom marg-top" style="position:relative; height:160px;">
    <table border="0" cellspacing="0" cellpadding="0" >
      <tbody>
	  <tr>
        <td class="fieldKey"><div class="crosspiece100"></div><?php echo $VM_LANG->_('USERNAME') ?>:</td>
        <td class="fieldValue" width="100%"><input type="text" id="username_login" name="username" class="inputbox"  ></td>
      </tr>
      <tr>
        <td class="fieldKey"><?php echo $VM_LANG->_('PASSWORD') ?></td>
        <td class="fieldValue"><input type="password" id="passwd_login" size="20 name="passwd"  class="inputbox"></td>
      </tr>
	  	   <tr>
        <td class="fieldKey">

		<div class="buttonSet btn_position" align="right">
		<form action="index.php" method="post" name="login" style="margin-left:20px;">

<div class="button_content button_content2">
<div class="button bg_button"><div class="button-t">
<span class=""><button id="tdb2" type="submit" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-icon-primary ui-priority-primary" role="button">
<span class="ui-button-icon-primary ui-icon ui-icon-cart"></span>
<span class="ui-button-text"><?php echo  $VM_LANG->_('BUTTON_LOGIN') ?></span></button>
</span><script type="text/javascript">$("#tdb2").button({icons:{primary:"ui-icon-cart"}}).addClass("ui-priority-primary").parent().removeClass("tdbLink");</script></div></div></div></div>
	<input type="hidden" name="option" value="<?php echo vmIsJoomla( '1.5' ) ? 'com_user' : 'login'; ?>" /> 
	<input type="hidden" name="task" value="login" />
	<input type="hidden" name="lang" value="<?php echo vmIsJoomla() ? $mosConfig_lang : $GLOBALS['mosConfig_locale'] ?>" />
	<input type="hidden" name="return" value="<?php echo $return_url ?>" />
	<input type="hidden" name="<?php echo $validate; ?>" value="1" />
</form>	
</td>
      </tr>
	   <tr>
        <td colspan="2" class="fieldKey">  <p class="forgotten"><a href="<?php echo $lostPwUrl;?>"><?php echo $VM_LANG->_('LOST_PASSWORD'); ?>.</a></p>
</td>
      </tr>
    </tbody></table>

	
	
	
  

  
   

</div>
</div>

	